<template>
  <div class="video-player">video</div>
</template>

<script>
export default {
  name: 'VideoPlayer',
  props: {
    // 组件最大宽度，0 代表不设置
    maxWidth: {
      type: Number,
      required: false,
      default: 0,
    },
  },
  data() {
    return {
      watchTimer: null, // 观看时长上报的定时器
    };
  },
};
</script>

<style lang="less" scoped>
.video-player {
  position: relative;
}
</style>
